package com.common.web.error;

import com.common.api.iface.ErrorDescribe;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 权限异常定义
 * @author ficus
 */
@Getter
@AllArgsConstructor
public enum TokenError implements ErrorDescribe {
	tokenNotExist("token00","token为空,不能访问"),
	tokenError("token01","token异常,重新登录"),
	;
	
	/**异常编码*/
	private String errorCode;
	
	/**异常信息*/
	private String errorMsg;
}
